package com.kongge.formlike.bean;

import android.text.TextUtils;

import java.util.List;
import java.util.Map;

/**
 * author:kongge
 * date:2018/7/20
 * layout:
 * description:
 */

public class FormBean {

    private Map<String, Object> configMap;

    private List<ViewBean> viewBeanList;

    public FormBean() {
    }

    public Map<String, Object> getConfigMap() {
        return configMap;
    }

    public void setConfigMap(Map<String, Object> configMap) {
        this.configMap = configMap;
    }

    public List<ViewBean> getViewBeanList() {
        return viewBeanList;
    }

    public void setViewBeanList(List<ViewBean> viewBeanList) {
        this.viewBeanList = viewBeanList;
    }

    public boolean isDataRight() {
        if (configMap == null || viewBeanList == null ) {
            return false;
        }
        return true;
    }
}
